package com.google.gwt.sample.dynatablerf.server.util;

public class StringUtil {

	public static String removeLeftZeros(String string) {
		if (string != null)
			return string.replaceFirst("^0+(?!$)", "");
		else
			return null;
	}

	public static boolean isEmpty(String string) {
		if (string == null)
			return true;
		else if (string.equals(""))
			return true;
		else
			return false;
	}
}
